package com.jwsoft.manager.core.dao.model;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 数据统计02
 *
 * @author linyh
 * @since 2023-04-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("edu_sjtj02")
@Schema(name = "EduSjtj02", title = "数据统计02", description = "数据统计02实体类")
public class EduSjtj02 extends Model<EduSjtj02> {

    private static final long serialVersionUID = 1L;

    @Schema(name = "edusjtj02Id", title = "数据统计02ID")
    @TableId(value = "edusjtj02_id", type = IdType.INPUT)
    private Long edusjtj02Id;

    @Schema(name = "schoolId", title = "学校id")
    @TableField(value = "school_id")
    private String schoolId;

    @Schema(name = "schoolName", title = "学校名称")
    @TableField(value = "school_name")
    private String schoolName;

    @Schema(name = "schoolCategory", title = "学校类别")
    @TableField(value = "school_category")
    private String schoolCategory;

    @Schema(name = "orderBy", title = "排序字段")
    @TableField(value = "order_by")
    private Integer orderBy;

    @Schema(name = "enrolment", title = "计划人数")
    @TableField(value = "enrolment")
    private BigDecimal enrolment;

    @Schema(name = "bmrs", title = "报名人数")
    @TableField(value = "bmrs")
    private BigDecimal bmrs;

    @Schema(name = "lqrs", title = "录取人数")
    @TableField(value = "lqrs")
    private BigDecimal lqrs;

    @Schema(name = "mbrs", title = "民办录取人数")
    @TableField(value = "mbrs")
    private BigDecimal mbrs;

    @Schema(name = "a", title = "A")
    @TableField(value = "A")
    private BigDecimal a;

    @Schema(name = "a1", title = "A1")
    @TableField(value = "A1")
    private BigDecimal a1;

    @Schema(name = "b", title = "B")
    @TableField(value = "B")
    private BigDecimal b;

    @Schema(name = "b1", title = "B1")
    @TableField(value = "B1")
    private BigDecimal b1;

    @Schema(name = "c", title = "C")
    @TableField(value = "C")
    private BigDecimal c;

    @Schema(name = "c1", title = "C1")
    @TableField(value = "C1")
    private BigDecimal c1;

    @Schema(name = "hk", title = "特殊户口人数")
    @TableField(value = "HK")
    private BigDecimal hk;

    @Schema(name = "other", title = "其他")
    @TableField(value = "other")
    private BigDecimal other;

    @Schema(name = "otherHj", title = "其他户籍")
    @TableField(value = "other_hj")
    private BigDecimal otherHj;

    @Schema(name = "otherJzz", title = "其他居住证")
    @TableField(value = "other_jzz")
    private BigDecimal otherJzz;

    @Schema(name = "otherSb", title = "其他社保")
    @TableField(value = "other_sb")
    private BigDecimal otherSb;

    @Schema(name = "wy", title = "预测")
    @TableField(value = "WY")
    private BigDecimal wy;

    @Schema(name = "wyhk", title = "预测本地户籍")
    @TableField(value = "WYHK")
    private BigDecimal wyhk;

    @Schema(name = "year", title = "年度")
    @TableField(value = "year")
    private Integer year;

    @Schema(name = "areaCode", title = "行政区划代码")
    @TableField(value = "area_code")
    private String areaCode;

    @Override
    public Serializable pkVal() {
        return this.edusjtj02Id;
    }
}
